csv_export
Configuration for CSV Export resource.
Read/write properties
type<String>
Type.
Maximum length = 32
section_title<String>
Section title.
Maximum length = 512
csv_mapping_id<String>
Schedule export csv_mapping_id.
Maximum length = 32
resource_name<String>
Resource name.
Minimum length = 1
Maximum length = 255
detailview<String>
detailview.
Maximum length = 64
graphql_variable<String>
GraphQL query variable for export.
graphql_query<String>
GraphQL query for export.
cr_enabled<String>
CR Enabled..
Maximum length = 16
sla_enabled<String>
SLA Enabled..
Maximum length = 16
resource_id<String>
Resource id.
Maximum length = 512
report_type<String>
report_type 'active' in case active report.
duration<String>
Duration.
Maximum length = 64
report_start_time<Double>
Report start time..
pagesize<Integer>
Page size.
order_by<String>
Order By.
Maximum length = 32
id<String>
Id is CSV export Id.
Maximum length = 32
is_count<String>
is_count.
Maximum length = 32
pageno<Integer>
Page no..
report_end_time<Double>
Report end time..
asc<String>
asc.
Maximum length = 32
duration_summary<String>
Duration summary..
Maximum length = 16
attrs<String>
attrs.
args<String>
args.
filter<String>
filter.
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/csv_export/id_value<String>
HTTPS Method:DELETE
Request Headers:
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value> }
URL:https://<MGMT-IP>/nitro/v2/config/csv_export
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/csv_export?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of csv_export resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/csv_export?pagesize=#no&pageno=#no
Use this query-parameter to get the csv_export resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/csv_export?count=yes
Use this query-parameter to get the count of csv_export resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "csv_export":[{
"type":<String_value>,
"section_title":<String_value>,
"csv_mapping_id":<String_value>,
"resource_name":<String_value>,
"detailview":<String_value>,
"graphql_variable":<String_value>,
"graphql_query":<String_value>,
"cr_enabled":<String_value>,
"sla_enabled":<String_value>,
"resource_id":<String_value>,
"report_type":<String_value>,
"duration":<String_value>,
"report_start_time":<Double_value>,
"pagesize":<Integer_value>,
"order_by":<String_value>,
"id":<String_value>,
"is_count":<String_value>,
"pageno":<Integer_value>,
"report_end_time":<Double_value>,
"asc":<String_value>,
"duration_summary":<String_value>,
"attrs":<String_value>,
"args":<String_value>,
"filter":<String_value>}]}
URL:https://<MGMT-IP>/nitro/v2/config/csv_export?onerror=<String_value>
HTTPS Method:POST
Request Headers:
Content-Type:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Request Payload:JSON
{"csv_export": {
"report_end_time":<Double_value>,
"attrs":<String_value>,
"args":<String_value>,
"is_count":<String_value>,
"id":<String_value>,
"pageno":<Integer_value>,
"duration":<String_value>,
"detailview":<String_value>,
"type":<String_value>,
"resource_name":<String_value>,
"asc":<String_value>,
"filter":<String_value>,
"duration_summary":<String_value>,
"order_by":<String_value>,
"pagesize":<Integer_value>,
"report_start_time":<Double_value>,
"sla_enabled":<String_value>,
"graphql_query":<String_value>,
"cr_enabled":<String_value>,
"report_type":<String_value>,
"resource_id":<String_value>,
"graphql_variable":<String_value>,
"section_title":<String_value>,
"csv_mapping_id":<String_value>}}
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "csv_export":[{
"type":<String_value>,
"section_title":<String_value>,
"csv_mapping_id":<String_value>,
"resource_name":<String_value>,
"detailview":<String_value>,
"graphql_variable":<String_value>,
"graphql_query":<String_value>,
"cr_enabled":<String_value>,
"sla_enabled":<String_value>,
"resource_id":<String_value>,
"report_type":<String_value>,
"duration":<String_value>,
"report_start_time":<Double_value>,
"pagesize":<Integer_value>,
"order_by":<String_value>,
"id":<String_value>,
"is_count":<String_value>,
"pageno":<Integer_value>,
"report_end_time":<Double_value>,
"asc":<String_value>,
"duration_summary":<String_value>,
"attrs":<String_value>,
"args":<String_value>,
"filter":<String_value>}]}